@echo open
set REPOSITORY_PATH=D:\Workspace-dx-3.9.22.RELEASE\ctbiyi-dynamic-platform-v202606
rem Searching...
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*.settings*"') do (
    rd /s /q %%i
)
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*.idea*"') do (
    rd /s /q %%i
)
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*target*"') do (
    rd /s /q %%i
)
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*logs"') do (
    rd /s /q %%i
)
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*.iml*"') do (
    del /s /q %%i
)
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*classpath*"') do (
    del /s /q %%i
)
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*project"') do (
    del /s /q %%i
)
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*springBeans"') do (
    del /s /q %%i
)
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*apt_generated*"') do (
    rd /s /q %%i
)
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*apt_generated_tests*"') do (
    rd /s /q %%i
)
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*factorypath*"') do (
    del /s /q %%i
)
rem Search finished
pause